package gin访问静态文件集成BootStrap框架

import (
	"github.com/gin-gonic/gin"
	"net/http"
)

//下载地址：https:getbootstrap.com/

func main() {
	e := gin.Default()
	e.LoadHTMLGlob("templates/*")
	e.Static("/assets", "./assets")
	e.StaticFS("/croot", http.Dir("c:/"))
	e.StaticFile("/favicon.ico", "./assets/favicon.ico")
}
